<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title></title>
<#include "/jeecms_sys/head.html"/>
<script type="text/javascript">
$(function() {
	$("#jvForm").validate();
});
</script>
</head>
<body>
<div class="box-positon">
	<div class="rpos"><@s.m "global.position"/>:  <@s.m "user.basicInfo"/> - <@s.m "global.edit"/></div>
	
	<div class="clear"></div>
</div>
<div class="body-box">
<@p.form id="jvForm" action="o_update.do" labelWidth="12">
<@p.hidden name="id" value=user.id/>
<@p.text colspan="1" width="50" label="用户名" name="name" value=user.name required="true" class="required" maxlength="100"/>
<@p.text colspan="1" width="50" label="微信唯一标识" name="openId" value=user.openId size="30" class="required" required="true"/><@p.tr/>
<@p.select colspan="1" width="50" label="shopInfo.shopName" name="shopId" value=user.shop.id list=shopList listKey="id" listValue="shopName" required="true"/>
<@p.text colspan="1" width="50" label="email" name="email" value=user.email size="30" class="email"/><@p.tr/>
<!-- <@p.text colspan="1" width="50" label="账户" name="passport" value=user.passport size="30"/> -->
<@p.text colspan="2" width="50" label="手机" name="mobile" value=user.mobile size="30" class="required digits"/><@p.tr/>
<@p.text colspan="1" width="50" label="用户地址" name="address" value=user.address size="30"/>
<@p.radio colspan="1" width="50" label="状态" name="status" value=user.status list={"1":"已审核","-1","未审核"} required="true" class="required"/><@p.tr/>

<@p.text colspan="1" width="50" label="学校名称" name="school" value=user.school size="32"/>
<@p.text colspan="1" width="50" label="班级名称" name="classes" value=user.classes size="32"/><@p.tr/>

<@p.td colspan="2">
	<@p.submit code="global.submit"/> &nbsp; <@p.reset code="global.reset"/>
</@p.td>
</@p.form>
</div>
<#include "/common/alert_message.html"/>
</body>
</html>